import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";


import 'lib-flexible';
import "./common/base.scss";
import "./iconfont/iconfont.css"

import '@vant/touch-emulator';

Vue.config.productionTip = false;


import { Swipe, SwipeItem, Image as VanImage, SwipeCell, Checkbox, Stepper } from 'vant';
Vue.use(Swipe).use(SwipeItem).use(VanImage).use(SwipeCell).use(Checkbox).use(Stepper);

import { Lazyload } from 'vant';
Vue.use(Lazyload);

import { Tabbar, TabbarItem, Icon, Search, Button, Field, Divider } from 'vant';
Vue.use(Tabbar).use(TabbarItem).use(Icon).use(Search).use(Button).use(Field).use(Divider);

import { Grid, GridItem, Sidebar, SidebarItem, SubmitBar, Card, Sku, GoodsAction, GoodsActionIcon, GoodsActionButton } from 'vant';
Vue.use(Grid).use(GridItem).use(Sidebar).use(SidebarItem).use(SubmitBar).use(Card).use(Sku).use(GoodsAction).use(GoodsActionIcon).use(GoodsActionButton);


import { QC } from "./libs/qc_jssdk"

Vue.prototype.$qq = QC

new Vue({
    router,
    store,
    render: (h) => h(App),
}).$mount("#app");